export function fixIframe(conmmonUrl) {
    const base_url = conmmonUrl.replace(/\/[^/]+\/$/, '')
    return base_url
}
export function fixIframeArr() {
    const url = new URL(window.location.href)
    // 构建基础URL
    const baseUrl = url.protocol + '//' + url.hostname + (url.port ? ':' + url.port : '')
    console.log(baseUrl, 'return')
    return baseUrl
}

